#include <iostream>
#include <vector>
#include <string>
#include <cstring>
#include <algorithm>
#include <map>
#include <climits>


using namespace std;

class Solution {
public:
    int maxValue(int n, int index, int maxSum) {
        if(maxSum<=n){
            return 1;
        }
        //暴力模拟
        int x=maxSum-n,l=index,r=index,pl=0,pr=0,ans=1;
        while(x>0){
            if(--l>=0)++pl;
            if(++r<n) ++pr;
            if(l<0&&r>=n){
                ans+=(x%n==0?x/n:x/n+1);
                return ans;
            }
            ans++;
            x-=(pl+pr+1);
        }
        return ans;
    }
};

int main(){
    freopen("in.txt","r",stdin);

    Solution s;
    int n,i,sm;
    while(cin >> n>>i >>sm)
    cout << s.maxValue(n,i,sm)<<endl;

    return 0;
}